Skip to content

docs(openhab): sync template standards updates#352

Merged
mberlofa merged 1 commit into
mainfrom
docs/openhab-template-standards-sync
Jul 6, 2026
Merged

docs(openhab): sync template standards updates#352
mberlofa merged 1 commit into
mainfrom
docs/openhab-template-standards-sync

Conversation

@mberlofa

@mberlofa mberlofa commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document the openHAB podLabels selector-label reservation.
  • Register openHAB as a required playground config for site sync.

Related

Chart PR: helmforgedev/charts#674

Validation

  • make site-sync-check CHART=openhab: passed
  • npm run lint: passed
  • npm run format:check: passed
  • npm run build: passed
  • make release-check REPO=site: passed
  • make attribution-check REPO=site: passed

Summary by CodeRabbit

  • New Features
    • Added support for the OpenHAB chart in the playground’s site-sync chart selection.
  • Documentation
    • Updated the Configuration Reference → Workload section to include a new podLabels option for adding extra pod labels, while reserving selector labels (default {}).

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0950f787-6e85-48c6-b3aa-1f4da584e325

📥 Commits

Reviewing files that changed from the base of the PR and between f96b819 and ec4bb9e.

📒 Files selected for processing (2)
  • src/pages/docs/charts/openhab.mdx
  • src/pages/playground.astro
✅ Files skipped from review due to trivial changes (1)
  • src/pages/docs/charts/openhab.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/pages/playground.astro

📝 Walkthrough

Walkthrough

This PR adds a podLabels entry to the openhab chart’s Workload documentation and registers the openhab slug in the playground configuration mapping.

Changes

OpenHAB podLabels support

Layer / File(s) Summary
Add podLabels documentation
src/pages/docs/charts/openhab.mdx
Adds a podLabels row to the Workload configuration reference table with its description and default value.
Register openhab in playground configs
src/pages/playground.astro
Adds openhab to siteSyncPlaygroundConfigs so it is included in the derived playgroundCharts set.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

  • helmforgedev/site#322: Also extends src/pages/playground.astro by adding a new chart slug to siteSyncPlaygroundConfigs.
  • helmforgedev/site#330: Updates the same playground config registry path to include another chart slug.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and matches the main openHAB docs and playground config sync changes.
Description check ✅ Passed The description covers summary, related work, and validation, but it does not follow the template’s Quality Gates checkbox section and Related Issue format.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/openhab-template-standards-sync

Comment @coderabbitai help to get the list of available commands.

mberlofa added a commit to helmforgedev/charts that referenced this pull request Jul 6, 2026
## Summary

- Align openHAB StatefulSet pod template labels with immutable selector
labels plus user `podLabels`.
- Add fail-fast validation to prevent `podLabels` from overriding
selector labels.
- Add unit coverage for selector-label override validation.

## Validation

- `helm unittest charts/openhab`: 118 tests passed
- `helm lint --strict charts/openhab`: passed
- `make template-standards-check CHART=openhab`: passed
- `make standards-check CHART=openhab`: passed
- `make standards-guard CHART=openhab`: passed
- `node scripts/charts/validate-chart.js --chart openhab --no-k3d`:
static layers passed, including kubeconform and ah lint
- k3d behavioral validation on `k3d-helmforge-tests-wsl`: default plus
every `ci/*.yaml` passed sequentially
- `make site-sync-check CHART=openhab`: passed
- site `npm run lint`, `npm run format:check`, `npm run build`: passed
- `make release-check REPO=charts`: passed with expected post-merge
release warning
- `make attribution-check REPO=charts`: passed

## Site Sync

Site PR: helmforgedev/site#352

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Added validation to prevent custom pod labels from overriding required
selector labels, avoiding invalid StatefulSet output.
* Updated pod label rendering to consistently use the selector labels
set for pods.
* **Tests**
* Expanded validation tests to cover conflicts for both selector label
keys (name and instance).
* Added dedicated test values to confirm rendering fails with the
expected error message when conflicts occur.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: MergeCheck <mergecheck@example.invalid>
@mberlofa mberlofa force-pushed the docs/openhab-template-standards-sync branch from f96b819 to ec4bb9e Compare July 6, 2026 14:25
@mberlofa mberlofa merged commit 5f097cb into main Jul 6, 2026
9 of 11 checks passed
@mberlofa mberlofa deleted the docs/openhab-template-standards-sync branch July 6, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant